package com.onesports.intelligent.k12.polarlight.domain.entity.sys;

import com.baomidou.mybatisplus.annotation.TableName;
import com.onesports.intelligent.k12.polarlight.common.domain.entity.BaseEntity;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 数据权限表
 *
 * @author
 * @since 1.0.0 2022-06-07
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("sys_data_scope")
public class SysDataScope extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;

    /**
     * 角色id
     */
	private String roleId;
    /**
     * 权限类型(1:机构，2:校区)
     */
	private String scopeType;

	/**
	 * 目标ID(机构ID、校区ID)
	 */
	private String targetId;

}
